package study.dq.unit.test.until;

public class MyService {
	private IService1 s1;
	private IService2 s2;
	public IService1 getS1() {
		return s1;
	}
	public void setS1(IService1 s1) {
		this.s1 = s1;
	}
	public IService2 getS2() {
		return s2;
	}
	public void setS2(IService2 s2) {
		this.s2 = s2;
	}
	
	public void m1() {
		s1.method1();
		s1.method2();
	}
	
	public void m2() {
		s1.method1();
		s2.method3();
		s1.method2();
		s2.method4();
	}
}
